home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / prog / msg_45.zip / MSGS.CMD < prev    next >
OS/2 REXX Batch file  |  1991-12-08  |  1KB  |  37 lines

  1. @Echo Off
  2. Rem MSGS.CMD from Nibbles & Bytes - Node 1:124/1113
  3. Rem In your BINKLEY.CFG setup, use the line:
  4. Rem    READER MSGS
  5. Rem For interactive use, use MSGS rather than MSG
  6. Rem Change what you need...
  7.  
  8. Rem This is an example of how to set up MSG for multiple users
  9. Rem You should rename this batch file to a unique name for each
  10. Rem user for which you have a configuration.  Also, be sure to
  11. Rem make changes only to the "MYCONFIG.CFG" files, since MSG.CFG
  12. Rem will be overwritten each time one of these batch files is used.
  13. Rem
  14. Rem Copy %BBS%\MYCONFIG.CFG %BBS%\MSG.CFG
  15.  
  16. Msg Xchange More Clear Hotkeys ^^ %1 %2 %3 %4 %5 %6 %7 %8 %9
  17.     If ErrorLevel 3 Goto Error
  18.     If ErrorLevel 2 Goto EchoMail
  19.     If ErrorLevel 1 Goto NetMail
  20.     Goto Exit
  21.  
  22. :Error
  23.     Echo Fatal Error!  MSG did not execute properly!
  24.     Pause
  25.     Goto Exit
  26.  
  27. :EchoMail
  28.     Emmie /N /S /P
  29.     ScanBld %MAX%\User.BBS %MAX%\Area.Dat Local Matrix @%BBS%\ScanBld.Log /ND
  30.     Goto Exit
  31.  
  32. :NetMail
  33.     Emmie /P
  34.     ScanBld %MAX%\User.BBS %MAX%\Area.Dat Matrix
  35.  
  36. :Exit
  37.